//
//  TZBuyButton.m
//  wangYiLottery
//
//  Created by mac on 16/2/4.
//  Copyright © 2016年 tz. All rights reserved.
//

#import "TZBuyButton.h"

@implementation TZBuyButton

- (void)layoutSubviews {
    [super layoutSubviews];
    CGRect titleRect = self.titleLabel.frame;
    titleRect.origin.x = 0;
    self.titleLabel.frame = titleRect;
    CGRect imageRect = self.imageView.frame;
    imageRect.origin.x = titleRect.size.width;
    self.imageView.frame = imageRect;
}

@end
